package  com.zerosky.crm.dao;

import java.util.List;
import java.util.Map;

import com.zerosky.crm.po.ReturnRecord; 

/**Returnrecord数据接口
 * @author hugy;
 * @since 2017-06-08
 */
public interface ReturnRecordDAO {
	
	/**Returnrecord列表数据接口
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public List<ReturnRecord> getReturnRecordList(Map map);

	public int countReturnRecord(Map map);
	/**通过主键查找Returnrecord数据接口 
	 * @param id Returnrecord主键
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public ReturnRecord getReturnRecordById(String id);

	/**新增Returnrecord数据接口
	 * @param Returnrecord 实体对象
	 * @author hugy;
	 * @since 2017-06-08
	 */ 
	public int addReturnRecord(ReturnRecord returnrecord) throws Exception;
	
	/**修改Returnrecord数据接口
	 * @param Returnrecord 实体对象
	 * @author hugy;
	 * @since 2017-06-08
	 */ 
	public int updateReturnRecord(ReturnRecord returnrecord) throws Exception;

	/**通过主键删除Returnrecord数据接口
	 * @param id Returnrecord主键
	 * @author hugy;
	 * @since 2017-06-08
	 */ 
	public int deleteReturnRecordById(String id) throws Exception;	 
}
